Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout.Composition Namespace / Layer Class / CreateVisual Method / CreateVisual(AnchorPoint[],Action<GcGraphics,Visual>) Method
An array of GrapeCity.Documents.Layout.AnchorPoints to draw.
A delegate that accepts a GrapeCity.Documents.Drawing.GcGraphics object and a Visual, and draws the visual on the graphics.

In This Topic
    CreateVisual(AnchorPoint[],Action<GcGraphics,Visual>) Method
    In This Topic
    Creates a Visual object that represents a polygon based on the given GrapeCity.Documents.Layout.AnchorPoints.
    Syntax
    'Declaration
     
    Public Overloads Function CreateVisual( _
       ByVal anchorPoints() As AnchorPoint, _
       ByVal draw As System.Action(Of GcGraphics,Visual) _
    ) As Visual
    public Visual CreateVisual( 
       AnchorPoint[] anchorPoints,
       System.Action<GcGraphics,Visual> draw
    )

    Parameters

    anchorPoints
    An array of GrapeCity.Documents.Layout.AnchorPoints to draw.
    draw
    A delegate that accepts a GrapeCity.Documents.Drawing.GcGraphics object and a Visual, and draws the visual on the graphics.
    See Also